<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        #header {
            background-color: black;
            color: white;
            text-align: center;
            padding: 5px;
        }

        #nav {
            line-height: 30px;
            background-color: #eeeeee;
            height: 300px;
            width: 100px;
            float: left;
            padding: 5px;
        }

        #section {
            width: 350px;
            float: left;
            padding: 10px;
        }

        #footer {
            background-color: black;
            color: white;
            clear: both;
            text-align: center;
            padding: 5px;
        }

        table.scene {
            width: 100%;
            border: 1px solid #d4d4d4;
        }

        table.scene th,
        td {
            padding: 10px;
        }

        table.scene td {
            width: 40px;
        }
    </style>
</head>

<body>
    <p>这是 div 布局</p>
    <div id="header">
        <h1>City Gallery</h1>
    </div>
    <div id="nav">
        London<br>
        Paris<br>
        Tokyo<br>
    </div>
    <div id="section">
        <h1>London</h1>
        <p>
            London is the capital city of England. It is the most populous city in the United Kingdom,
            with a metropolitan area of over 13 million inhabitants.
        </p>
        <p>
            Standing on the River Thames, London has been a major settlement for two millennia,
            its history going back to its founding by the Romans, who named it Londinium.
        </p>
    </div>
    <div id="footer">
        Copyright www.example.com
    </div>
    <hr />
    <p>这是表格布局</p>
    <table class="scene">
        <tr>
            <th>
                <img src="images/scene.jpg" alt="Note" style="height:32px;width:32px">
            </th>
            <td>
                The table element was not designed to be a layout tool.
            </td>
        </tr>
    </table>
</body>

</html>